/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '../../../assets/styles/base/colors';
@import '../../../assets/styles/base/variables';

identity-issued-modal {
  .identity-issued {
    .modal-body {
      display: flex;
      flex-direction: row;
      overflow-y: auto;

      .new-card-options {
        position: absolute;
        left: 275 + $space-medium; // the size of an ID card + padding
        padding: 0 $space-medium $space-medium $space-medium;

        dl.enrollment-credentials {
          margin-left: $space-medium;

          display: flex;
          flex-flow: row wrap;

          dt, dd {
            margin: 0;
            flex: 0 0 50%;
          }

          dt {
            font-weight: 700;
            flex: 0 0 33%;
          }

          dd {
            flex: 0 0 66%;
          }
        }

        .actions {
          display: flex;
          justify-content: flex-end;
          margin-bottom: $space-medium;
        }
      }
    }

    footer {
      svg {
        fill: $error-colour-1;
        vertical-align: text-top;
      }

      p.footer-text {
        flex: 1;
      }
    }
  }
}
